package cn.cttic.order.api.domain.vo;

import cn.cttic.base.api.domain.vo.BaseProductVo;
import cn.cttic.order.api.domain.BaseSaleOrder;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 销售订单视图对象 base_sale_order
 *
 * @author Times.Studio
 * @date 2024-09-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BaseSaleOrder.class)
public class BaseSaleOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @ExcelProperty(value = "标识")
    private String id;

    private String channelName;

    private String companyName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String fullName;

    /**
     * 姓名
     */
    private String lastName;

    /**
     * 名
     */
    private String firstName;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别")
    private Integer gender;

    /**
     * 国家区号
     */
    @ExcelProperty(value = "国家区号")
    private String phoneArea;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    private String phone;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String carNo;

    /**
     * 产品套餐
     */
    @ExcelProperty(value = "产品套餐")
    private String productId;

    private String productName;

    private String deviceName;

    private String deviceModel;

    private String productThumbnailUrl;

    /**
     * 销售人员
     */
    @ExcelProperty(value = "销售人员")
    private String salesManId;

    private String salesManName;

    /**
     * 安装订单
     */
    @ExcelProperty(value = "安装订单")
    private String installOrderId;

    /**
     * 订单状态
     */
    @ExcelProperty(value = "订单状态 ")
    private Integer status;

    private String statusName;

    private BaseProductVo productInfo;

    private Integer installStatus;




}
